Optimal. Leaf size=131 \[ \frac{f (a+b x)^{m+1} (c+d x)^{n+1}}{b d (m+n+2)}-\frac{(a+b x)^{m+1} (c+d x)^{n+1} (b d e (m+n+2)-f (a d (n+1)+b c (m+1))) \, _2F_1\left (1,m+n+2;n+2;\frac{b (c+d x)}{b c-a d}\right )}{b d (n+1) (m+n+2) (b c-a d)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0776548, antiderivative size = 141, normalized size of antiderivative = 1.08, number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {80, 70, 69} \[ \frac{(a+b x)^{m+1} (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} (b d e (m+n+2)-f (a d (n+1)+b c (m+1))) \, _2F_1\left (m+1,-n;m+2;-\frac{d (a+b x)}{b c-a d}\right )}{b^2 d (m+1) (m+n+2)}+\frac{f (a+b x)^{m+1} (c+d x)^{n+1}}{b d (m+n+2)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 80
Rule 70
Rule 69
Rubi steps
\begin{align*} \int (a+b x)^m (c+d x)^n (e+f x) \, dx &=\frac{f (a+b x)^{1+m} (c+d x)^{1+n}}{b d (2+m+n)}+\left (e-\frac{f (b c (1+m)+a d (1+n))}{b d (2+m+n)}\right ) \int (a+b x)^m (c+d x)^n \, dx\\ &=\frac{f (a+b x)^{1+m} (c+d x)^{1+n}}{b d (2+m+n)}+\left (\left (e-\frac{f (b c (1+m)+a d (1+n))}{b d (2+m+n)}\right ) (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n}\right ) \int (a+b x)^m \left (\frac{b c}{b c-a d}+\frac{b d x}{b c-a d}\right )^n \, dx\\ &=\frac{f (a+b x)^{1+m} (c+d x)^{1+n}}{b d (2+m+n)}+\frac{\left (e-\frac{f (b c (1+m)+a d (1+n))}{b d (2+m+n)}\right ) (a+b x)^{1+m} (c+d x)^n \left (\frac{b (c+d x)}{b c-a d}\right )^{-n} \, _2F_1\left (1+m,-n;2+m;-\frac{d (a+b x)}{b c-a d}\right )}{b (1+m)}\\ \end{align*}
Mathematica [A] time = 0.115729, size = 117, normalized size = 0.89 \[ \frac{(a+b x)^{m+1} (c+d x)^n \left (\frac{\left (\frac{b (c+d x)}{b c-a d}\right )^{-n} (-a d f (n+1)-b c f (m+1)+b d e (m+n+2)) \, _2F_1\left (m+1,-n;m+2;\frac{d (a+b x)}{a d-b c}\right )}{m+1}+b f (c+d x)\right )}{b^2 d (m+n+2)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.058, size = 0, normalized size = 0. \begin{align*} \int \left ( bx+a \right ) ^{m} \left ( dx+c \right ) ^{n} \left ( fx+e \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (f x + e\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (f x + e\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b x\right )^{m} \left (c + d x\right )^{n} \left (e + f x\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (f x + e\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]